package com.example.restaurantclient.Entities;

public class News {
    private String Store;
    private String date;
    private  String time;
    private String newsText;
    private boolean flag;
    //

    public News(String store, String date, String time, String newsText, boolean flag) {
        Store = store;
        this.date = date;
        this.time = time;
        this.newsText = newsText;
        this.flag = flag;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getStore() {
        return Store;
    }

    public void setStore(String store) {
        Store = store;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getNewsText() {
        return newsText;
    }

    public void setNewsText(String newsText) {
        this.newsText = newsText;
    }

    @Override
    public String toString() {
        return "News{" +
                "Store='" + Store + '\'' +
                ", date='" + date + '\'' +
                ", time='" + time + '\'' +
                ", newsText='" + newsText + '\'' +
                '}';
    }
}
